package com.tj.shopping.service;

import com.tj.shopping.entity.Carts;
import com.tj.shopping.entity.Goods;
import com.tj.shopping.vo.ResultVO;

import java.util.List;
import java.util.Map;

/**
 * @program: IntelliJ IDEA
 * @description:
 * @author: H
 * @create: 2023-12-20 15:16
 */
public interface ShoppingCartService {
    Map<String,Object>finds(Map<String,Object>map);
    int Remove(Map<String,Object>map);
    int deleteAll(Map<String,Object>map);
    int addNum(Carts carts,Map<String,Object>map);
    Map<String, Object> addshoppingcart(Map<String, Object> map);
    Map<String,Object> carttotal(Map<String,Object>map);

    Carts selectCart(int cno);
    int RemoveByCno(int cno);
}
